<include file="Layout/header" />
</head>
<body>
<div class="breadcrumbs" id="breadcrumbs"> 
  <script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>
  <ul class="breadcrumb">
    <li> <i class="icon-home home-icon"></i> <a href="#">首页</a> </li>
    <li class="active">管理员列表</li>
  </ul>
</div>
<div class="page-content">
  <div class="row">
    <ul id="myTab" class="nav nav-tabs">
      <li class="active"> <a href="{:U('Admin/Rule/admin_user_list')}">管理员列表</a></li>
      <li> <a href="{:U('Admin/Rule/add_admin')}">添加管理员</a></li>
    </ul>
    <div id="myTabContent" class="table-responsive">
      <div class="dataTables_wrapper" id="home">
        <table class="table table-striped table-bordered table-hover dataTable">
          <tr>
            <th width="10%">用户名</th>
            <th>用户组</th>
            <th>操作</th>
          </tr>
          <foreach name="data" item="v">
            <tr>
              <td>{$v['username']}</td>
              <td>{$v['title']}</td>
              <td><a href="{:U('Admin/Rule/edit_admin',array('id'=>$v['id']))}">修改权限或密码<if condition="$v.id neq 88">| <a href="javascript:if(confirm('确定删除？'))location='{:U('Admin/Rule/delete_admin',array('id'=>$v['id']))}'">删除</a> </if></a>
              </td>
            </tr>
          </foreach>
        </table>
      </div>
    </div>
  </div>
</div>
<include file="Layout/js"/>
</body>
</html>